package com.bootdo.market.service.impl;

import com.bootdo.market.dao.PlatformAdvunionAccountDao;
import com.bootdo.market.domain.AppDO;
import com.bootdo.market.domain.PlatformAdvunionAccountDO;
import com.bootdo.market.service.PlatformAdvunionAccountService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service
public class PlatformAdvunionAccountServiceImpl implements PlatformAdvunionAccountService {
    @Autowired
    private PlatformAdvunionAccountDao platformAdvunionAccountDao;

    @Override
    public PlatformAdvunionAccountDO get(Integer id) {
        return platformAdvunionAccountDao.get(id);
    }

    @Override
    public List<PlatformAdvunionAccountDO> list(Map<String, Object> map) {
        return platformAdvunionAccountDao.list(map);
    }

    @Override
    public int count(Map<String, Object> map) {
        return platformAdvunionAccountDao.count(map);
    }

    @Override
    public int save(PlatformAdvunionAccountDO platformAdvunionAccount) {
        return platformAdvunionAccountDao.save(platformAdvunionAccount);
    }

    @Override
    public int update(PlatformAdvunionAccountDO platformAdvunionAccount) {
        return platformAdvunionAccountDao.update(platformAdvunionAccount);
    }

    @Override
    public int remove(Integer id) {
        return platformAdvunionAccountDao.remove(id);
    }

    @Override
    public int batchRemove(Integer[] ids) {
        return platformAdvunionAccountDao.batchRemove(ids);
    }

    @Override
    public int saveAppDO(AppDO appDO) {
        return platformAdvunionAccountDao.saveAppDO(appDO);
    }

}
